package com.atguigu.common.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @create: 2024/8/25
 * @author: gyhe10
 * @description: product 微服务常量类
 **/

public interface ProductConstant {

    @Getter
    @AllArgsConstructor
    public enum AttrEnum{
        ATTR_TYPE_BASE(1,"基本属性"),
        ATTR_TYPE_SALE(0,"销售属性");

        private int code;
        private String msg;
    }

    @Getter
    @AllArgsConstructor
    public enum StatusEnum{
        NEW_SPU(0,"新建"),
        UP_SPU(1,"上架"),
        DOWN_SPU(2,"下架");

        private int code;
        private String msg;
    }
}
